package cn.iocoder.devlop.module.annual.report.common.dal;

import cn.iocoder.devlop.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.devlop.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.devlop.module.annual.report.common.dal.dataobject.EnttypeEntclassifyDO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EnttypeEntclassifyMapper extends BaseMapperX<EnttypeEntclassifyDO> {

    default EnttypeEntclassifyDO selectByEnttype(String enttype){
        LambdaQueryWrapperX<EnttypeEntclassifyDO> wrapper = new LambdaQueryWrapperX<>();
        wrapper.eq(EnttypeEntclassifyDO::getEnttype,enttype);
        return selectOne(wrapper);
    }

}
